package com.ttbj.product.api;

import java.util.Map;

 /**
  * 原生支付的封装和支付回调处理
  * @author Administrator
  *
  */
public interface OriginalPayFacade { 
	
        Map<String,String> appPay(String rootPath, String imagePath,String url, Float price, String orderNum, String attch) throws Exception;
        
        Map<String,String> appletPay(String url, Float price, String orderNum, String openId, String orderId) throws Exception;

        /**
         * 支付回调
         * @param orderNum 本系统订单号
         * @param openId openId
         * @param orderId 订单ID
         * @param transaction_id 微信或是支付宝 系统订单号
         */
		void payNotify(String orderNum, String openId ,String orderId ,String transaction_id,Integer payway) throws Exception;

		
		
}
